﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ANLP.Parser
{
    class StateExpression : ParserExpression
    {
        protected List<ParserExpression> expressions = new List<ParserExpression>();

        public ICollection<ParserExpression> Expressions
        {
            get { return expressions; }
        }

        internal void Add(TokenExpression tokenExpression)
        {
            expressions.Add(tokenExpression);
        }

        internal void Add(CodeExpression codeExpression)
        {
            expressions.Add(codeExpression);
        }
    }
}
